import PokerVo from "./PokerVo";

export default class LogPokerVo {
  /** whert to where*/
  public from: number;
  /**poker */
  private _pokers: PokerVo[];
  /**移动还是翻牌 */
  public isMove: number;
  /**groupIndex */
  public groupIndex: number = -1;
  constructor() {
    this.from = -1;
    this._pokers = [];
    this.isMove = -1;
    this.groupIndex = -1;
  }
  public addPoker(poker: PokerVo): void {
    this._pokers.push(poker);
  }
  public get pokers(): PokerVo[] {
    return this._pokers;
  }
}
